<?php


	if(!empty($_SERVER['HTTP_X_REQUESTED_WITH'])){
		 $password="'".md5($_POST['password'])."'";
		 $username="'".$_POST['username']."'";
		$data="username= $username and password=$password";
		//echo $_POST['password'];die;
      $f= getSelectOne('admin',$data);
      if(!empty($f)){
      	echo 1;die;
      }else{
      	echo 0;die;
      }
    }
	include (VIEW_PATH.$admin.'admin/kaoshi.html');
?>

